package com.shop.cereshop.agent.service.wallet;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.cereshop.agent.page.user.CereAgentUserVO;
import com.shop.cereshop.agent.page.wallet.AgentWalletVO;
import com.shop.cereshop.agent.param.user.LoginDTO;
import com.shop.cereshop.commons.domain.wallet.CereAgentWallet;
import com.shop.cereshop.commons.exception.CoBusinessException;

import javax.validation.Valid;

/**
 * 代理商钱包服务接口
 *
 * @author
 * @since 2025-11-14
 */
public interface AgentWalletService extends IService<CereAgentWallet> {

    int updatePayPassword(@Valid LoginDTO param) throws CoBusinessException;

    AgentWalletVO getWallet(Long agentUserId, Integer roleType);
}
